<script setup lang="ts">
import { useRandomTestingStore } from '@/pages/RandomTesting/store'

const rootStore = useRandomTestingStore()
const { plainStore } = rootStore
const { onClickReset } = plainStore
</script>

<template>
  <div class="continer">
    <AResult status="warning" title="页面异常!">
      <template #extra>
        <AButton type="primary" @click="onClickReset">重新开始</AButton>
      </template>
    </AResult>
  </div>
</template>

<style lang="less" scoped>
.continer {
  padding: 16px;
}
</style>
